body, html, #root {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #050d1a;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.screen-content::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #1eaaff11, transparent, #1eaaff22);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  pointer-events: none;
  z-index: 0;
}

.screen-border {
  min-height: 100vh;
  background: linear-gradient(135deg, #071c3a 0%, #0a2a4d 100%);
  border: 3px solid #1eaaff;
  border-radius: 12px;
  box-shadow: 0 0 20px #1eaaff88, inset 0 0 60px #1eaaff22;
  position: relative;
  overflow: hidden;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 20px #1eaaff88, inset 0 0 60px #1eaaff22; }
  50% { box-shadow: 0 0 30px #1eaaff99, inset 0 0 80px #1eaaff33; }
}

.screen-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.screen-navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 32px 0 32px;
  position: relative;
  z-index: 2;
  animation: navbarFadeIn 1s ease-out;
}

@keyframes navbarFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-left, .nav-right {
  display: flex;
}

.nav-item {
  background: #1eaaff;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border: none;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0% 100%);
  padding: 8px 20px;
  margin-right: 10px;
  box-shadow: 0 2px 8px #1eaaff44;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease-out;
}

.nav-item:hover::before {
  transform: scale(1);
}

.nav-item:hover {
  background: #3ecbff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #1eaaff66;
}

.nav-item:last-child {
  margin-right: 0;
}

.nav-item:hover {
  background: linear-gradient(180deg, #1eaaff 0%, #3ecbff 100%);
}

.nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -10px;
}

.screen-title {
  display: flex;
  align-items: flex-end;
  font-size: 32px;
  font-weight: bold;
  color: #3ecbff;
  letter-spacing: 4px;
  text-shadow: 0 2px 8px #1eaaff99, 0 0 20px #1eaaff55;
  position: relative;
  padding: 0 20px;
}

.screen-title::before,
.screen-title::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 40px;
  background: linear-gradient(90deg, transparent, #1eaaff, transparent);
  animation: titleDecoration 2s ease-in-out infinite;
}

.screen-title::before {
  left: -60px;
  top: 50%;
}

.screen-title::after {
  right: -60px;
  top: 50%;
}

@keyframes titleDecoration {
  0%, 100% { width: 40px; opacity: 0.6; }
  50% { width: 60px; opacity: 1; }
}

.title-main {
  font-size: 32px;
  color: #3ecbff;
}

.title-sub {
  font-size: 28px;
  color: #ff4e9b;
  margin-left: 4px;
}

.center-btn {
  margin-top: 8px;
  background: linear-gradient(90deg, #1eaaff 0%, #3ecbff 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 4px 32px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 2px 8px #1eaaff55;
  cursor: pointer;
  letter-spacing: 2px;
  transition: background 0.2s;
}

.center-btn:hover {
  background: linear-gradient(90deg, #3ecbff 0%, #1eaaff 100%);
}

.screen-main {
  flex: 1;
  position: relative;
  z-index: 1;
}

.screen-bottom-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, transparent 40%, #1eaaff11 100%);
}

.screen-bottom-bg::before, .screen-bottom-bg::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 120px;
  background: repeating-linear-gradient(
    to top,
    #1eaaff33 0 2px,
    transparent 2px 32px
  );
  border-radius: 24px 24px 0 0;
  opacity: 0.7;
  animation: bgPulse 3s ease-in-out infinite;
}

@keyframes bgPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.4; }
}

.screen-bottom-bg::after {
  top: 40px;
  width: 60vw;
  height: 80px;
  opacity: 0.4;
}



.screen-border .corner-bl, .screen-border .corner-tr {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid #1eaaff;
  border-radius: 12px;
  z-index: 10;
}
.screen-border .corner-bl {
  left: 0; bottom: 0;
  border-right: none;
  border-top: none;
}
.screen-border .corner-tr {
  right: 0; top: 0;
  border-left: none;
  border-bottom: none;
}

.supermarket-data {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 60px;
  animation: dataCardsAppear 1s ease-out;
}

@keyframes dataCardsAppear {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.data-card {
  background: linear-gradient(135deg, #0a2a4d 60%, #1eaaff44 100%);
  border: 1.5px solid #1eaaff88;
  border-radius: 16px;
  box-shadow: 0 4px 24px #1eaaff22;
  padding: 32px 40px;
  min-width: 180px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(8px);
}

.data-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1eaaff44, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.data-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 32px #1eaaff55;
}

.data-card:hover::before {
  opacity: 1;
}

.data-card::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1eaaff88, transparent);
  bottom: 20px;
  left: 30%;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.data-card:hover::after {
  transform: scaleX(1);
}
.data-title {
  color: #6ed6ff;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.data-value {
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #1eaaff99;
  position: relative;
  display: inline-block;
}

.data-value::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -8px;
  left: 0;
  background: linear-gradient(90deg, transparent, #1eaaff, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.data-card:hover .data-value::after {
  transform: scaleX(1);
}